import { REG } from "@/data/locations";
import { PageLifeProbeRequire } from "@/data/settings";
import { StyleMgr } from "../libs/core/styleOperation";

const entry = () => {
  return StyleMgr.add(
    "playerShadow",
    `
        .container-mini-btns{
            box-shadow: 0 0 5px #00000085;
        }
    `
  );
};

const module: ModulesConstructure = {
  name: "playerShadow",
  type: "style",
  start: entry,
  condition: {
    siteMatch: [REG.videoAndBangumi],
    pageLifeProbeRequire: PageLifeProbeRequire.Head,
  },
  optionUI: {
    enable: {
      type: "switch",
      department: "video",
      onActivate: () => {
        return true;
      },
      onDeactivate: () => {
        return false;
      },
    },
  },
};
export default module;
